package com.doupi.partner.dal;

import com.doupi.partner.dal.model.AdministratorPermission;
import java.util.List;
import org.apache.ibatis.session.RowBounds;

public interface AdministratorPermissionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AdministratorPermission record);

    AdministratorPermission selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AdministratorPermission record);

    int countAdministratorPermission(AdministratorPermission administratorPermission);

    List<AdministratorPermission> queryAdministratorPermissions(AdministratorPermission administratorPermission, RowBounds rowBounds);

    List<AdministratorPermission> selectAdministratorPermissionForUpdate(AdministratorPermission administratorPermission);

    AdministratorPermission selectAdministratorPermissionForUpdateByPrimaryKey(Long id);
}